<?php
class ModelToolMQS extends Model {

    public function sendOrderPaidMessage($order_id)
    {
        $alimqs = new AliMQS();
        $alimqs->sendMessage('order-paid-message',$order_id);
    }
    
    public function receiveOrderPaidMessage()
    {
        $alimqs = new AliMQS();
        return $alimqs->reveiveMessage('order-paid-message');
    }
    
    public function deleteOrderPaidMessage($message)
    {
        $alimqs = new AliMQS();
        $alimqs->deleteMessage('order-paid-message',$message);
    }
}